package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.InventoryLocks;
import com.example.mall.dto.InventoryLocksDto;
import com.example.mall.query.InventoryLocksQuery;
import com.example.mall.query.PageDTO;

import java.util.List;


/**
 * <p>
 * 库存锁定记录表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-09
 */
public interface IInventoryLocksService extends IService<InventoryLocks> {

    //分页查询库存锁定记录表信息
    PageDTO<InventoryLocksDto> queryPage(InventoryLocksQuery inventoryLocksQuery);

    //根据id查询库存锁定记录表信息
    InventoryLocks queryInventoryLocksById(Long lockId);

    //查询库存锁定记录表信息列表
    List<InventoryLocks> queryInventoryLocksList();

    //新增库存锁定记录表信息
    void insert(InventoryLocksDto inventoryLocksDto);

    //修改库存锁定记录表信息
    void update(InventoryLocksDto inventoryLocksDto);

    //删除库存锁定记录表信息
    void delete(Long lockId);

    //批量删除库存锁定记录表信息
    void deleteBatch(List<Long> lockIds);
}
